PUT
/
v1
/
inventory
/
warehouses
/
{id}
/
locations
/
{location_id}
Update Location
curl --request PUT \
  --url https://{base_url_domain}/api/global/v1/inventory/warehouses/{id}/locations/{location_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "label": "A4-55-C3",
  "priority": 10,
  "is_type_auto": true,
  "lot": {
    "type": "Lot",
    "id": 54
  },
  "product": {
    "type": "Product",
    "id": 123
  },
  "rack": {
    "type": "Rack",
    "id": 123
  },
  "location_type": {
    "type": "LocationType",
    "id": 54
  }
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Generate a JWT access token through a Custom Global Integration and provide it with each request in the Authorization header prefixed with "Bearer" and then a single space.

Path Parameters

id
integer
required

The id of the referenced Warehouse.

location_id
integer
required

The id of the referenced Location.

Body

application/json

A Location object specifying the fields to be updated.

A Location describes a user-specified inventory address within a warehouse.

label
string | null

The human-readable name of a location and also the value encoded in location's barcode label. This value must be unique within each warehouse.

Example:

"A4-55-C3"

priority
integer

The inventory reservation order relative to other locations containing the same product.

Example:

10

is_type_auto
boolean | null

If Location Type is "Automatic" then it will cause the type to be maintained automatically according to the Auto-Assign Patterns of the location types.
Optional Field

Example:

true

lot
object | null

A reference to a Lot object. The Lot records the time some inventory was originated (first received or otherwise created) and optionally a lot number and expiration date and may affect the order in which inventory is "burned" depending on the LotType. A reference to the Lot object assigned to this location.

product
object | null

A reference to a Product or stockable packaging type object by id. A reference to the stockable product assigned to this location.

rack
object | null

A Rack is a grouping of locations in a warehouse implying a very close proximity. A reference to the Rack to which this location is assigned. This may be managed automatically or assigned manually.

location_type
object | null

A reference to a LocationType object. A reference to the LocationType object assigned to this location. This may be managed automatically or assigned manually.

Response

OK - The operation completed successfully and there is no response body.